package data;

import java.util.Vector;

public class MirroringGDWithoutBS implements MirroringGraphData {

    private Vector<MirroringGDWithBS> _allResults = new Vector<MirroringGDWithBS>();

    public MirroringGDWithoutBS(Vector<MirroringGDWithBS> allResults) {
        _allResults = allResults;
    }

    public Vector<MirroringGDWithBS> get_allResults() {
        return _allResults;
    }

    @Override
    public String toString() {
        StringBuilder res = new StringBuilder("Mirroring without Buffer Size Output: \n");
        res.append("Active Time Units: \n ");
        for (int i = 0; i < _allResults.size(); i++) {
            res.append(_allResults.get(i) + "\n\n\n");
        }
        return res.toString();
    }

	@Override
	public boolean isEmpty() {
		boolean b=false;
		for (int i=0; i<_allResults.size(); i++){
			b=b || _allResults.get(i).isEmpty();				
		}
		return b;
	}
}
